<style type="text/css">
	#overlay { display: block;}
</style>
<input name="action" value="updateitem" type="hidden" />
<input name="item" value="<?php echo $item ?>" type="hidden" />
<!--<form class="form" method="POST">-->
	<div id="main" class="curve">
		<div id="overlay" class="curve"></div>
		<!--overlay-->
		<h2><?php echo $ptitle; ?></h2>
		
		<div class="section">
			<h4>Team Information</h4>
			<form class="form" method="POST">
				<div class="row">		
					<div class="div-left">
						<label>Team Name:<span class="req">*</span></label>
						<input name="group_name" id="group_name" title="Team Name" class="validate[required]" />
					</div>
					<div class="div-right">
						<label>Parent Team:</label>
						<select name="parent_group_id" id="parent_group_id" title="Parent Name" class="">
							<option value="0" selected="selected">- Select -</option>
							<?php foreach($groups as $g) echo "<option value='".$g['group_id']."'>".$g['group_name']."</option>"; ?>
						</select>
					</div>
					<div class="clear"></div>
				</div>
			</form>
		</div>		
		<!--section-->
		<br /><br />		
		<div class="view-section">
			<h4>Team Members</h4>
			<p class="search-box">
				<label class="float-left">Search:</label>
				<input id="keyword-team-employee" class="float-left" />
				<a href="javascript:void(0)" class="submit-small" id="search-flexigrid-employee"><span>Find</span></a>
				<a href="javascript:void(0)" class="submit-small" id="clear-flexigrid-employee"><span>Clear Results</span></a>
				<br class="clear" />
			</p>
			<table class="membersFlex"></table>
		</div>
		<!--section-->
		<br /><br />
		<div class="view-section">
			<h4>Overtime / Leave Approvers</h4>
			<p class="search-box">
				<label class="float-left">Search:</label>
				<input id="keyword-team-approver" class="float-left" />
				<a href="javascript:void(0)" class="submit-small" id="search-flexigrid-approver"><span>Find</span></a>
				<a href="javascript:void(0)" class="submit-small" id="clear-flexigrid-approver"><span>Clear Results</span></a>
				<br class="clear" />
			</p>
			<table class="approversFlex"></table>
		</div>
		<!--section-->
		
		<div class="section">
			<div class="row float-right">
				<a href="<?php echo base_url().$module ?>/manage.html" class="submit-small"><span>Return</span></a>
				<a href="javascript:void(0)" class="submit-small" id="form-submit"><span>Save</span></a>
				<div class="clear"></div>
			</div>
		</div>
		<!--section-->
		
	</div>
	<!--main-->
<!--</form>-->